package com.ruoyi.electronicFence.mapper;

import java.util.List;
import com.ruoyi.electronicFence.domain.PersonLocationCard;
import org.apache.ibatis.annotations.Mapper;

/**
 * person_locationMapper接口
 *
 * @author sxygsj
 * @date 2024-04-10
 */
@Mapper
public interface PersonLocationCardMapper
{
    /**
     * 查询person_location
     *
     * @param id person_location主键
     * @return person_location
     */
    public PersonLocationCard selectPersonLocationCardById(Long id);

    /**
     * 查询person_location列表
     *
     * @param personLocationCard person_location
     * @return person_location集合
     */
    public List<PersonLocationCard> selectPersonLocationCardList(PersonLocationCard personLocationCard);

    /**
     * 新增person_location
     *
     * @param personLocationCard person_location
     * @return 结果
     */
    public int insertPersonLocationCard(PersonLocationCard personLocationCard);

    /**
     * 修改person_location
     *
     * @param personLocationCard person_location
     * @return 结果
     */
    public int updatePersonLocationCard(PersonLocationCard personLocationCard);

    /**
     * 删除person_location
     *
     * @param id person_location主键
     * @return 结果
     */
    public int deletePersonLocationCardById(Long id);

    /**
     * 批量删除person_location
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePersonLocationCardByIds(Long[] ids);
}
